package com.inossem.warehousestorage_inossem.bean.analysis;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/4.
 */

public class AnalysisWorkStatisticsIndexBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"blockList":[{"blockName":"煤炭板块","blockValue":"01","factoryList":[{"factoryName":"内蒙古伊泰有限公司","factoryValue":"011","inventoryAddressList":[{"inventoryAddressName":"大地中心库","inventoryAddressValue":"0111"},{"inventoryAddressName":"塔拉壕中心库","inventoryAddressValue":"0112"}]},{"factoryName":"南京英诺森软件科技有限公司","factoryValue":"012","inventoryAddressList":[{"inventoryAddressName":"沈阳","inventoryAddressValue":"0121"},{"inventoryAddressName":"北京","inventoryAddressValue":"0122"},{"inventoryAddressName":"南京","inventoryAddressValue":"0123"}]}]}],"blockName":"煤炭板块","blockValue":"01","factoryName":"内蒙古伊泰有限公司","factoryValue":"011","inventoryAddressName":"大地中心库","inventoryAddressValue":"0111","beginTime":"2017-11-1","endTime":"2017-12-30"}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * blockList : [{"blockName":"煤炭板块","blockValue":"01","factoryList":[{"factoryName":"内蒙古伊泰有限公司","factoryValue":"011","inventoryAddressList":[{"inventoryAddressName":"大地中心库","inventoryAddressValue":"0111"},{"inventoryAddressName":"塔拉壕中心库","inventoryAddressValue":"0112"}]},{"factoryName":"南京英诺森软件科技有限公司","factoryValue":"012","inventoryAddressList":[{"inventoryAddressName":"沈阳","inventoryAddressValue":"0121"},{"inventoryAddressName":"北京","inventoryAddressValue":"0122"},{"inventoryAddressName":"南京","inventoryAddressValue":"0123"}]}]}]
         * blockName : 煤炭板块
         * blockValue : 01
         * factoryName : 内蒙古伊泰有限公司
         * factoryValue : 011
         * inventoryAddressName : 大地中心库
         * inventoryAddressValue : 0111
         * beginTime : 2017-11-1
         * endTime : 2017-12-30
         */

        private String blockName;
        private String blockValue;
        private String factoryName;
        private String factoryValue;
        private String inventoryAddressName;
        private String inventoryAddressValue;
        private String beginTime;
        private String endTime;
        private List<BlockListBean> blockList;

        public String getBlockName() {
            return blockName;
        }

        public void setBlockName(String blockName) {
            this.blockName = blockName;
        }

        public String getBlockValue() {
            return blockValue;
        }

        public void setBlockValue(String blockValue) {
            this.blockValue = blockValue;
        }

        public String getFactoryName() {
            return factoryName;
        }

        public void setFactoryName(String factoryName) {
            this.factoryName = factoryName;
        }

        public String getFactoryValue() {
            return factoryValue;
        }

        public void setFactoryValue(String factoryValue) {
            this.factoryValue = factoryValue;
        }

        public String getInventoryAddressName() {
            return inventoryAddressName;
        }

        public void setInventoryAddressName(String inventoryAddressName) {
            this.inventoryAddressName = inventoryAddressName;
        }

        public String getInventoryAddressValue() {
            return inventoryAddressValue;
        }

        public void setInventoryAddressValue(String inventoryAddressValue) {
            this.inventoryAddressValue = inventoryAddressValue;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public List<BlockListBean> getBlockList() {
            return blockList;
        }

        public void setBlockList(List<BlockListBean> blockList) {
            this.blockList = blockList;
        }

        public static class BlockListBean {
            /**
             * blockName : 煤炭板块
             * blockValue : 01
             * factoryList : [{"factoryName":"内蒙古伊泰有限公司","factoryValue":"011","inventoryAddressList":[{"inventoryAddressName":"大地中心库","inventoryAddressValue":"0111"},{"inventoryAddressName":"塔拉壕中心库","inventoryAddressValue":"0112"}]},{"factoryName":"南京英诺森软件科技有限公司","factoryValue":"012","inventoryAddressList":[{"inventoryAddressName":"沈阳","inventoryAddressValue":"0121"},{"inventoryAddressName":"北京","inventoryAddressValue":"0122"},{"inventoryAddressName":"南京","inventoryAddressValue":"0123"}]}]
             */

            private String blockName;
            private String blockValue;
            private List<FactoryListBean> factoryList;

            public String getBlockName() {
                return blockName;
            }

            public void setBlockName(String blockName) {
                this.blockName = blockName;
            }

            public String getBlockValue() {
                return blockValue;
            }

            public void setBlockValue(String blockValue) {
                this.blockValue = blockValue;
            }

            public List<FactoryListBean> getFactoryList() {
                return factoryList;
            }

            public void setFactoryList(List<FactoryListBean> factoryList) {
                this.factoryList = factoryList;
            }

            public static class FactoryListBean {
                /**
                 * factoryName : 内蒙古伊泰有限公司
                 * factoryValue : 011
                 * inventoryAddressList : [{"inventoryAddressName":"大地中心库","inventoryAddressValue":"0111"},{"inventoryAddressName":"塔拉壕中心库","inventoryAddressValue":"0112"}]
                 */

                private String factoryName;
                private String factoryValue;
                private List<InventoryAddressListBean> inventoryAddressList;

                public String getFactoryName() {
                    return factoryName;
                }

                public void setFactoryName(String factoryName) {
                    this.factoryName = factoryName;
                }

                public String getFactoryValue() {
                    return factoryValue;
                }

                public void setFactoryValue(String factoryValue) {
                    this.factoryValue = factoryValue;
                }

                public List<InventoryAddressListBean> getInventoryAddressList() {
                    return inventoryAddressList;
                }

                public void setInventoryAddressList(List<InventoryAddressListBean> inventoryAddressList) {
                    this.inventoryAddressList = inventoryAddressList;
                }

                public static class InventoryAddressListBean {
                    /**
                     * inventoryAddressName : 大地中心库
                     * inventoryAddressValue : 0111
                     */

                    private String inventoryAddressName;
                    private String inventoryAddressValue;

                    public String getInventoryAddressName() {
                        return inventoryAddressName;
                    }

                    public void setInventoryAddressName(String inventoryAddressName) {
                        this.inventoryAddressName = inventoryAddressName;
                    }

                    public String getInventoryAddressValue() {
                        return inventoryAddressValue;
                    }

                    public void setInventoryAddressValue(String inventoryAddressValue) {
                        this.inventoryAddressValue = inventoryAddressValue;
                    }
                }
            }
        }
    }
}
